package com.roger.myHome.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.roger.myHome.domain.TbMedicalHistory;
import com.roger.myHome.entity.qto.MedicalHistoryQry;
import com.roger.myHome.entity.vo.MedicalHistoryVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MedicalHistoryMapper extends BaseMapper<TbMedicalHistory> {
    List<MedicalHistoryVo> page(MedicalHistoryQry qry);

    Long totalSize(MedicalHistoryQry qry);
}
